<?
    /* -*- Mode: PHP5; tab-width: 4; indent-tabs-mode: nil; basic-offset: 4 -*- */
    
    /*********************************************************
    *            --== InArch ==--
    *
    * Ajax Get Node Info action
    *
    * @author Kulikov Alexey <a.kulikov@gmail.com>
    * @version n/a
    * @since 04.06.2005
    * @copyright essentialmind.com 2005
    *
    *********************************************************/

    /***
    * class ajaxGetGroupInfo
    ****
    * This class will return user information
    ****
    * @package ajax
    * @author A Kulikov <a.kulikov@gmail.com>
    * @version n/a
    * @since 04.06.2005
    * @copyright essentialmind.com 2005
    ***/
    class ajaxGetGroupInfo extends ajaxAction{

        function process(){
            $this->smarty->assign('group',$this->db->getRow("SELECT * FROM user_group WHERE id = " . (int)$_REQUEST['id']));
            $this->r->html = $this->smarty->preFetch('ajax/groupInfo.html');
        }
    }
?>
